home *** CD-ROM | disk | FTP | other *** search
/ Programming Languages Suite / ProgramD2.iso / Borland / Borland C++ V5.02 / CONTAS2.PAK / README.TXT < prev    next >
Text File  |  1997-05-06  |  5KB  |  128 lines

  1. ========================================================================
  2.        MICROSOFT FOUNDATION CLASS LIBRARY : Container
  3. ========================================================================
  4.  
  5.  
  6. AppWizard has created this Container application for you.  This application
  7. not only demonstrates the basics of using the Microsoft Foundation classes
  8. but is also a starting point for writing your application.
  9.  
  10. This file contains a summary of what you will find in each of the files that
  11. make up your Container application.
  12.  
  13.  
  14. Contain.mak
  15.     This project file is compatible with the Visual C++ development
  16.     environment.
  17.  
  18.     It is also compatible with the NMAKE program provided with Visual C++.
  19.  
  20.     To build a debug version of the program from the MS-DOS prompt, type
  21. nmake /f Contain.mak CFG="Win32 Debug"
  22.     or to build a release version of the program, type
  23. nmake /f Contain.mak CFG="Win32 Release"
  24.  
  25.  
  26. Contain.h
  27.     This is the main header file for the application.  It includes other
  28.     project specific headers (including Resource.h) and declares the
  29.     CContainerApp application class.
  30.  
  31. Contain.cpp
  32.     This is the main application source file that contains the application
  33.     class CContainerApp.
  34.  
  35. Contain.rc
  36.     This is a listing of all of the Microsoft Windows resources that the
  37.     program uses.  It includes the icons, bitmaps, and cursors that are stored
  38.     in the RES subdirectory.  This file can be directly edited in the
  39.     Visual C++ development environment.
  40.  
  41. res\Contain.ico
  42.     This is an icon file, which is used as the application's icon.  This
  43.     icon is included by the main resource file Contain.rc.
  44.  
  45. res\Contain.rc2
  46.     This file contains resources that are not edited by the Visual C++
  47.     development environment.  You should place all resources not
  48.     editable by the resource editor in this file.
  49.  
  50. Contain.reg
  51.     This is an example .REG file that shows you the kind of registration
  52.     settings the framework will set for you.  You can use this as a .REG
  53.     file to go along with your application or just delete it and rely
  54.     on the default RegisterShellFileTypes registration.
  55.  
  56. Contain.clw
  57.     This file contains information used by ClassWizard to edit existing
  58.     classes or add new classes.  ClassWizard also uses this file to store
  59.     information needed to create and edit message maps and dialog data
  60.     maps and to create prototype member functions.
  61.  
  62. /////////////////////////////////////////////////////////////////////////////
  63.  
  64. For the main frame window:
  65.  
  66. MainFrm.h, MainFrm.cpp
  67.     These files contain the frame class CMainFrame, which is derived from
  68.     CMDIFrameWnd and controls all MDI frame features.
  69.  
  70. res\Toolbar.bmp
  71.     This bitmap file is used to create tiled images for the toolbar.
  72.     The initial toolbar and status bar are constructed in the
  73.     CMainFrame class.  Edit this toolbar bitmap along with the
  74.     array in MainFrm.cpp to add more toolbar buttons.
  75.  
  76. /////////////////////////////////////////////////////////////////////////////
  77.  
  78. AppWizard creates one document type and one view:
  79.  
  80. ContrDoc.h, ContrDoc.cpp - the document
  81.     These files contain your CContainerDoc class.  Edit these files to
  82.     add your special document data and to implement file saving and loading
  83.     (via CContainerDoc::Serialize).
  84.  
  85. ContrVw.h, ContrVw.cpp - the view of the document
  86.     These files contain your CContainerView class.
  87.     CContainerView objects are used to view CContainerDoc objects.
  88.  
  89. res\ContrDoc.ico
  90.     This is an icon file, which is used as the icon for MDI child windows
  91.     for the CContainerDoc class.  This icon is included by the main
  92.     resource file Contain.rc.
  93.  
  94. /////////////////////////////////////////////////////////////////////////////
  95.  
  96. AppWizard has also created classes specific to OLE
  97.  
  98. CntrItem.h, CntrItem.cpp - this class is used to
  99.     manipulate OLE objects.  They are usually displayed by your
  100.     CContainerView class and serialized as part of your CContainerDoc class.
  101.  
  102.  
  103. /////////////////////////////////////////////////////////////////////////////
  104. Other standard files:
  105.  
  106. StdAfx.h, StdAfx.cpp
  107.     These files are used to build a precompiled header (PCH) file
  108.     named Contain.pch and a precompiled types file named StdAfx.obj.
  109.  
  110. Resource.h
  111.     This is the standard header file, which defines new resource IDs.
  112.     Visual C++ reads and updates this file.
  113.  
  114. /////////////////////////////////////////////////////////////////////////////
  115. Other notes:
  116.  
  117. AppWizard uses "TODO:" to indicate parts of the source code you
  118. should add to or customize.
  119.  
  120. If your application is in a language other than the operating system's
  121. current language, you will need to copy the corresponding localized
  122. resources MFC40XXX.DLL from the Microsoft Visual C++ CD-ROM onto the
  123. system or system32 directory, and rename it to be MFCLOC.DLL.  Otherwise,
  124. some of the UI elements of your application will remain in the language
  125. of the operating system.
  126.  
  127. /////////////////////////////////////////////////////////////////////////////
  128.